Package-level declarations

Types

Link copied to clipboard
sealed interface ActionExecutionSchedule

When should an action run?

Link copied to clipboard

Generate names for agent processes

Link copied to clipboard

Repository for agent processes.

Link copied to clipboard

Replace automatic LLM selection with a custom one based on usage

Link copied to clipboard
fun interface BlackboardProvider

Implemented by strategies for providing Blackboards.

Link copied to clipboard

Load a context

Link copied to clipboard
data class DelayedActionExecutionSchedule(val delay: Duration, val timestamp: Instant = Instant.now()) : ActionExecutionSchedule

Run after a given delay

Link copied to clipboard
interface LlmOperations

Wraps LLM operations. All user-initiated LLM operations go through this, allowing the AgentPlatform to mediate them. This interface is not directly for use in user code. Prefer PromptRunner An LlmOperations implementation is responsible for resolving all relevant tool callbacks for the current AgentProcess (in addition to those passed in directly), and emitting events.

Link copied to clipboard

Framework-agnostic LLM service abstraction, parallel to com.embabel.common.ai.model.EmbeddingService.

Link copied to clipboard

Schedules operations for an AgentProcess.

Link copied to clipboard
fun interface PlannerFactory

Pluggable planner factory

Link copied to clipboard
data class ProntoActionExecutionSchedule(val timestamp: Instant = Instant.now()) : ActionExecutionSchedule

No delay

Link copied to clipboard
interface Ranker

Rank available choices based on user input and agent metadata. It's possible that no ranking will be high enough to progress with, but that's a matter for the AgentPlatform using this service.

Link copied to clipboard
data class Ranking<T>(val match: T, val score: <Error class: unknown class>)

Ranking choice returned by the ranker

Link copied to clipboard
data class Rankings<T>(rankings: List<Ranking<T>>)

Rankings, sorted by score descending

Link copied to clipboard
data class ScheduledActionExecutionSchedule(val till: Instant, val timestamp: Instant = Instant.now()) : ActionExecutionSchedule

Run at the given time in the future

Link copied to clipboard
data class ToolCallSchedule(val delay: Duration = Duration.ZERO, val timestamp: Instant = Instant.now())
Link copied to clipboard
fun interface ToolDecorator

Decorate tools for use on the platform: for example, to time them and emit events.

Link copied to clipboard